package cn.david.basic.util;
import lombok.Data;
import java.util.ArrayList;
import java.util.List;

@Data
public class PageList<T> {
    private Long total = 0L;
    private List<T> rows = new ArrayList<>();
    public PageList() {
    }

    public PageList(Long total, List<T> rows) {
        this.total = total;
        this.rows = rows;

    }


}
